Automattic\WooCommerce\Blocks\BlockTypes\FeaturedItem S

Total Complexity 40
Dependencies 2
Dependents 0
Total lines 318
Lines of code 132
Logical lines of code 79
Comment lines 115
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
get_classes()
A
53 8 21
get_bg_styles()
S
53 6 21
render()
S
52 4 24
render_image()
S
54 4 21
get_image_url()
S
63 4 10
render_overlay()
S
63 3 10
render_bg_image()
S
65 2 8
get_styles()
S
63 2 10
hasFocalPoint()
S
77 2 3
get_item()
S
100 1 0
get_item_title()
S
100 1 0
get_item_image()
S
100 1 0
render_attributes()
S
100 1 0
enqueue_data()
S
74 1 4